package com.lz.autotest.project.testmanage.autoTest.service;

/*
 * @author: X
 * @date: Created in 2023/6/14 16:48
 * @Description:
 */

import com.lz.autotest.common.entity.ResponseVo;
import com.lz.autotest.common.web.domain.TreeSelect;
import com.lz.autotest.project.testmanage.autoTest.entity.TsstAutotestMenu;

import java.util.List;
import java.util.Map;

public interface TsstAutotestMenuService {

    /**
     * 新增
     */
    public ResponseVo insert(TsstAutotestMenu TsstAutotestMenu);

    /**
     * 删除
     */
    public ResponseVo delete(Map<String, Object> param);

    /**
     * 更新
     */
    public ResponseVo update(TsstAutotestMenu TsstAutotestMenu);

    /**
     * 根据主键 id 查询
     */
    public TsstAutotestMenu load(int id);

    /**
     * 分页查询
     */
    public List<TsstAutotestMenu> selectAllMenu(Map<String, Object> param);

    public List<TreeSelect> buildSstInfTreeSelect(List<TsstAutotestMenu> tsstTestMenus);

    ResponseVo autoTestRun(TsstAutotestMenu tsstAutotestMenu);
}